package XueXi;

public class While_xunhuanLX {
    public static void main(String[] args) {
        //打印1~100所有被3整除的数
        int i = 1;
        while (i<=100){
            if (i%3==0){
            System.out.println("i="+i);
            }
            i++;

        }
    }
}
